package Test_1110;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 */
public interface IList {
    //增
    public void addFirst(int data);
    public void addLast(int data);
    public void addindex(int index,int data);
    //查
    public boolean contains(int key);
    //删
    public void remove(int key);
    public void removeAllKey(int key);
    public void clear();
    //获取链表长度
    public int size();
    //展示链表元素
    public void display();
}
